#!/bin/bash

version=$V_PORTAL
env_name=$1

echo "即将开始构建镜像。环境：${env_name} 版本号：${version}"

docker build --build-arg ENV_NAME=${env_name} -f Dockerfile -t fu/fu-client-portal-${env_name}:$version .

./push.sh $env_name
